-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT: update pysat standards, testing for SPEC-0, operational env #59
Conversation
Noting that pysat 3.2.0 will break the code, as documented in #51. We may consider just putting the minimum at pysat 3.2.1 to avoid potential issues in the future. |
README.md
Outdated
@@ -17,7 +17,7 @@ Python 3.7+. | |||
|
|||
| Common modules | Community modules | | |||
| -------------- | ------------------- | | |||
| netCDF4 | pysat>=3.0.4,<3.2.0 | | |||
| netCDF4 | pysat>=3.1.0 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| netCDF4 | pysat>=3.1.0 | | |
| netCDF4 | pysat>=3.2.1 | |
?
docs/installation.rst
Outdated
Python 3.9+ and pysat 3.1.0+. | ||
|
||
================== ==================== | ||
Common modules Community modules | ||
================== ==================== | ||
netCDF4 pysat>=3.0.4,<3.2.0 | ||
netCDF4 pysat>=3.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potential update here, too.
pyproject.toml
Outdated
@@ -39,7 +39,7 @@ dependencies = [ | |||
"netCDF4", | |||
"numpy", | |||
"pandas", | |||
"pysat >= 3.0.4, <3.2.0", | |||
"pysat >= 3.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here, if desired.
requirements.txt
Outdated
@@ -1,5 +1,5 @@ | |||
netCDF4 | |||
numpy | |||
pandas | |||
pysat>=3.0.3, <3.2.0 | |||
pysat>=3.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here, if needed.
@jklenzing set minimum to 3.2.1 |
pinging @aburrell |
Description
Addresses #51, #54
Updates multiple standards, including
Because of internal changes at pysat, the minimum version is set to pysat 3.1.0 (released May 2023, ~18 months ago). Since this will still be an alpha release, full backwards compatibility to pysat 3.0 is not implemented. Tests for pysat<3.1.0 are failing for code that has been deprecated and removed (related to higher-order metadata).
In theory, the requirements.txt and test_requirements.txt can be removed as well (again, duplicate standards) since these are not used in the current tests or supported versions. Keeping them for the time being, will revisit at the next RC. Documented in #60.
Type of change
How Has This Been Tested?
via new GitHub Actions tests.
Checklist:
develop
(notmain
) branchCHANGELOG.md
, summarizing the changes